using System;

namespace SynoManager.Communication
{
    public class LoginException : Exception
    {
        private readonly string errorCode;

        public LoginException(string errorCode, string message)
            :base(message)
        {
            this.errorCode = errorCode;
        }

        public string ErrorCode
        {
            get { return errorCode; }
        }
    }
}